//
//  ITTrackManager.h
//  InTubePro
//
//  Created by seven on 2020/5/15.
//  Copyright © 2020 seven. All rights reserved.
//

#import <Foundation/Foundation.h>
//#import <FirebaseAnalytics/FIRAnalytics.h>

NS_ASSUME_NONNULL_BEGIN

@interface ITTrackManager : NSObject

+ (instancetype)shareManager;

+ (void)trackMTAEventNo:(NSString *)eventNo;

+ (void)trackMTAEventNo:(NSString *)eventNo parameters:(NSDictionary * IT_NULLABLE )parameters;


- (void)startApp;

- (void)trackMTAEventNo:(NSString *)eventNo;

- (void)trackMTAEventNo:(NSString *)eventNo parameters:(NSDictionary * IT_NULLABLE )parameters;


- (void)updateNetworkStatus:(NSString *)status;
- (void)updateMemberId:(NSString *)memberId;
- (void)updateGender:(NSString *)gender;

- (void)updateCampaign :(NSString *)campaign;

#pragma mark - app使用时长
@property(nonatomic, strong)NSString *pageName;

+ (void)setPageName:(NSString *)pageName;
- (long)appUsedTime;
- (long)pageShowedTime;

@end

NS_ASSUME_NONNULL_END
